/* 管理端操作日志 */
import { http } from "@/utils/http";
import type { Result } from "@/api/typeConfig";

export const listApi = params =>
  http.request<Result>("get", "/monitor/operlog/endpoint/list", { params });

export const exportApi = data =>
  http.request<Result>("post", "/monitor/operlog/endpoint/export", {
    data,
    responseType: "blob"
  });
